package com.xxxy.ljh.myapplication.Dao;

import com.xxxy.ljh.myapplication.model.MemberApplication;
import java.util.List;

public interface MemberApplicationDao {
    // 获取社团的所有待审核申请
    List<MemberApplication> getPendingApplicationsByClubId(int clubId);

    // 获取用户的所有申请记录
    List<MemberApplication> getApplicationsByUserId(int userId);

    // 提交加入社团申请
    boolean submitApplication(MemberApplication application);

    // 审核申请（通过或拒绝）
    boolean approveApplication(int memberId, int status, int approverId, String remark);

    // 根据ID获取申请详情
    MemberApplication getApplicationById(int memberId);
}